import request from '@/router/axios';

export const getList = (params) => {
  return request({
    url: '/banner/list',
    method: 'get',
    params: {
      ...params
    }
  })
}
export const add = (row) => {
  return request({
    url: '/banner/add',
    method: 'post',
    isSerialize:true,
    data: row
  })
}
export const update = (row) => {
  return request({
    url: '/banner/update',
    method: 'post',
    data: row
  })
}
export const remove = (ids) => {
  return request({
    url: '/banner/delete',
    method: 'get',
    params: {
      ids:ids,
    }
  })
}
